Skip to content

Add Uri-based overloads to HttpClientExtensions#79

Merged
Tyrrrz merged 2 commits intoprimefrom
uri-overloads
Apr 20, 2026
Merged

Add Uri-based overloads to HttpClientExtensions#79
Tyrrrz merged 2 commits intoprimefrom
uri-overloads

Conversation

@Tyrrrz
Copy link
Copy Markdown
Owner

@Tyrrrz Tyrrrz commented Apr 20, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 20, 2026 10:21
@Tyrrrz Tyrrrz added the enhancement New feature or request label Apr 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.82%. Comparing base (903cd48) to head (bcb90bf).
⚠️ Report is 1 commits behind head on prime.

Additional details and impacted files
@@            Coverage Diff             @@
##            prime      #79      +/-   ##
==========================================
+ Coverage   93.80%   93.82%   +0.02%     
==========================================
  Files         134      134              
  Lines        2694     2703       +9     
  Branches      215      215              
==========================================
+ Hits         2527     2536       +9     
  Misses        123      123              
  Partials       44       44              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Uri-based overloads for HttpClient extension helpers so callers can pass pre-parsed URIs while retaining string-based convenience overloads.

Changes:

  • Change DownloadAsync to take Uri and add a string overload that forwards to it.
  • Add HeadAsync(Uri, ...) and a string overload that forwards to it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread PowerKit/Extensions/HttpClientExtensions.cs
Comment thread PowerKit/Extensions/HttpClientExtensions.cs Outdated
Comment thread PowerKit/Extensions/HttpClientExtensions.cs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants